using System;
using System.Collections;
using System.Collections.Generic;

using MemberMgr.Data.Base;

namespace MemberMgr.Data.BusinessObjects
{
    public partial class tProductOutlog : BusinessBase<uint>
    {
        #region Declarations

		private decimal _outsum = default(Decimal);
		private System.DateTime _outtime = new DateTime();
		private uint _outmember = default(UInt32);
		
		private tProduct _tProduct = null;
		
		
		#endregion

        #region Constructors

        public tProductOutlog() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_outsum);
			sb.Append(_outtime);
			sb.Append(_outmember);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual decimal Outsum
        {
            get { return _outsum; }
			set
			{
				OnOutsumChanging();
				_outsum = value;
				OnOutsumChanged();
			}
        }
		partial void OnOutsumChanging();
		partial void OnOutsumChanged();
		
		public virtual System.DateTime Outtime
        {
            get { return _outtime; }
			set
			{
				OnOuttimeChanging();
				_outtime = value;
				OnOuttimeChanged();
			}
        }
		partial void OnOuttimeChanging();
		partial void OnOuttimeChanged();
		
		public virtual uint Outmember
        {
            get { return _outmember; }
			set
			{
				OnOutmemberChanging();
				_outmember = value;
				OnOutmemberChanged();
			}
        }
		partial void OnOutmemberChanging();
		partial void OnOutmemberChanged();
		
		public virtual tProduct TProduct
        {
            get { return _tProduct; }
			set
			{
				OnTProductChanging();
				_tProduct = value;
				OnTProductChanged();
			}
        }
		partial void OnTProductChanging();
		partial void OnTProductChanged();
		
        #endregion
    }
}
